<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>  
<head>
    <title>
        丢吧
</title>
		
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <link href="/diuba/Public/favicon.ico" rel="icon" type="image/x-icon" />
<link href="/diuba/Public/assets_h/stylesheets/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/style_h.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/font-awesome.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/se7en-font.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/isotope.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/jquery.fancybox.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/fullcalendar.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/wizard.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/select2.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/morris.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/datatables.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/datepicker.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/timepicker.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/colorpicker.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/bootstrap-switch.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/daterange-picker.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/typeahead.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/summernote.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/pygments.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/style.css" media="all" rel="stylesheet" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/color/green.css" media="all" rel="alternate stylesheet" title="green-theme" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/color/orange.css" media="all" rel="alternate stylesheet" title="orange-theme" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/color/magenta.css" media="all" rel="alternate stylesheet" title="magenta-theme" type="text/css" />
<link href="/diuba/Public/assets_h/stylesheets/color/gray.css" media="all" rel="alternate stylesheet" title="gray-theme" type="text/css" />
<script src="/diuba/Public/assets_h/javascripts/jquery.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery-ui.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/bootstrap.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/raphael.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/selectivizr-min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.mousewheel.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.vmap.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.vmap.sampledata.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.vmap.world.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.bootstrap.wizard.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/fullcalendar.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/gcal.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/datatable-editable.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.easy-pie-chart.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/excanvas.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.isotope.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/isotope_extras.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/modernizr.custom.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.fancybox.pack.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/select2.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/styleswitcher.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/wysiwyg.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/summernote.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.inputmask.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.validate.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/bootstrap-fileupload.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/bootstrap-datepicker.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/bootstrap-timepicker.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/bootstrap-colorpicker.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/bootstrap-switch.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/typeahead.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/daterange-picker.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/date.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/morris.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/skycons.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/fitvids.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/jquery.sparkline.min.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/main.js" type="text/javascript"></script>
<script src="/diuba/Public/assets_h/javascripts/respond.js" type="text/javascript"></script>
  </head>
  <body>
<div class="modal-shiftfix">
      <!-- Navigation -->
   <div class="navbar navbar-fixed-top scroll-hide">
        <div class="container-fluid top-bar">

            <button class="navbar-toggle"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>&nbsp;
            <a href=""><img   width="150px" id="logo_header" alt="80x80" src="/diuba/Public/assets_h/images/diuba_logo.png"></a>
        </div>
        <div class="container-fluid main-nav clearfix">
            <div class="nav-collapse " style="padding-left: 20px">
                <ul class="nav" >
                    <li >
                        <a  style="font-family: SimHei;font-size: large" href="<?php echo U('Index/index');?>">首页</a>
                    </li>
                    <li>
                        <a  style="font-family: SimHei;font-size: large" href="<?php echo U('Goods/goods');?>">二维码信息</a>
                    </li>
                    <li>
                        <a class="current " style="font-family: SimHei;font-size: large" href="#">查询启事</a>
                    </li>
                    <li>
                        <a style="font-family: SimHei;font-size: large" href="<?php echo U('Goods/release');?>">发布启事</a>
                    </li>
                    <li>
                        <a style="font-family: SimHei;font-size: large" href="<?php echo U('Users/userinfo');?>">用户信息</a>
                    </li>
                    
                </ul>

            </div>
        </div>
    </div>

     <div class="container-fluid main-content">
        <div class="col-md-10  col-xs-12 col-sm-10 col-sm-offset-1 col-md-offset-1 col-xs-offset-1"   >
              <h2 style="color: #03c2f9; margin-bottom: 0px;padding-bottom: 0px;"><p class="bg-white" style="margin-bottom: 10px;margin-top: 10px" >查询启事</p></h2>

              <h4 >
              <p class="bg-info" style="margin-top:0px ;padding:10px" >
              <a href="<?php echo U('Index/index');?>" style="color: white">首页</a>/
              <a href="<?php echo U('Goods/query_release');?>" style="color: white">查询&nbsp;</a>/&nbsp;寻物信息
             </p>         
              
               <div style="float:right;" >              
                  <form  method="post"  class="form-horizontal" action="<?php echo U('lost_query');?>"  enctype="multipart/form-data" >
                   <li style="list-style:none; float:left">
                   <input style="width:200px; height:35px; border:1px solid #00B2F1; 
                   font-size:0.9em; color:#a9a7a7; outline: none;border-radius:5px;" name="lost_name" type="text" value="搜索物品"></li>
                   <li style="list-style:none; float:left"><input class="btn btn-info" type="submit" value ="搜索" ></li>
                  </form> 
               </div>
             
              </h4>   
              <li style="float:left; list-style:none;">
              <form  method="post"  class="form-horizontal" action="<?php echo U('lost_query');?>"  enctype="multipart/form-data">
                <input type="hidden" name="lost_name" value="<?php echo ($lostlist["0"]["goods_name"]); ?>"> 
                <input class="btn btn-success active" type="submit" value ="寻物信息" >                          
              </form>
               </li>
              
              <li  style="float:left; list-style:none;">
              <form  method="post"  class="form-horizontal" action="<?php echo U('find_query');?>"  enctype="multipart/form-data">          
                <input type="hidden" name="find_name" value="<?php echo ($lostlist["0"]["goods_name"]); ?>"> 
                <input class="btn btn-success" type="submit" value ="招领信息" >                      
              </form> 
              </li>
        <!-- DataTables Example -->
        <div class="row"> 
            <div class="widget-container fluid-height clearfix" >
              <div class="widget-content padded clearfix">
                <table class="table table-bordered table-striped" id="datatable-editable">
                  <thead>
                    <th style="width:10%;">
                      失主名
                    </th>
                    <th style="width:10%;">
                      失物名
                    </th>
                    <th style="width:10%;">
                      Email
                    </th>
                    <th style="width:10%;">
                      电话号
                    </th>
                    <th style="width:10%;">
                      丢失日期
                    </th>
                    <th style="width:10%;">
                      丢失地点
                    </th>
                    <th style="width:10%;">
                      状态
                    </th>
                    <th style="width:10%;">
                      图片
                    </th>
                  </thead>
                  <tbody>
                  <?php if(is_array($lostlist)): $i = 0; $__LIST__ = $lostlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                   <td><?php echo ($vo["fname"]); ?></td>
                   <td><?php echo ($vo["goods_name"]); ?></td>
                   <td><?php echo ($vo["email"]); ?></td>
                   <td><?php echo ($vo["telephone"]); ?></td>
                   <td><?php echo ($vo["free"]); ?></td>
                   <td><?php echo ($vo["place"]); ?></td>
                   <td>
                     <?php if($vo["isfinish"] == '0'): ?><span class="label label-warning">正在寻找</span>
                     <?php else: ?>
                    <span class="label label-success">已完成</span><?php endif; ?>
                  </td>
                <td><img src="/diuba/Public/Uploads/lostphoto/<?php echo ($vo["picture"]); ?>" alt="" width="60"></td>
                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                   
                  </tbody>
                </table>
              </div>
            </div>
          </div>
        </div>

       

        <!-- <div class="footer col-md-10" >
    <p>DiuBa Copy 2016版本</p>
    <div class="clearfix"> </div>
</div>     -->
    </div> 
  </body>

</html>